.x-photos {
  .fade-enter-active,
  .fade-leave {
    opacity: 1;
    transition: opacity .3s;
  }
  .fade-enter,
  .fade-leave-active {
    opacity: 0;
    transition: opacity .3s;
  }

  .photos-items {
    position: relative;
  }

  .photos-item {
    position: absolute;
    padding: 7px;
    background: #fff;
    box-shadow: 15px 15px 40px 0 rgba(0,0,0,.15);
    box-sizing: border-box;
    &:hover {
      z-index: 100 !important; // 强迫 hover 到的层级...
    }

    img {
      max-width: 100%;
      height: auto;
    }
  }

  .photo-more {
    width: 290px;
    padding: 40px 22px 30px;
    background: #fff;
    box-shadow: 0 10px 20px 5px rgba(0, 0, 0, .1);
    position: absolute;
  }

  .photo-more__desc {
    font-size: 14px;
    color: #515151;
    clear: both;
  }

  .photo-more__look {
    float: right;
    height: 28px;
    border: 3px #231815 solid;
    color: #231815;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    padding-left: 20px;
    padding-right: 50px;
    position: relative;
    margin-top: 38px;
  }

  .photo-more__pointer {
    width: 20px;
    height: 12px;
    display: block;
    background: url("./assets/more-pointer.png") 0 0 no-repeat;
    position: absolute;
    top: 8px;
    right: 16px;
  }

  .photo-location {
    padding: 15px 5px 25px 0;
    text-align: right;
    color: #231815;
    font-size: 18px;
  }

}

// x-discover hack: start

.x-discover {
  .x-photos {
    .photos-items {
      margin-top: 5%;
    }
    .photos-item:nth-child(1) {
      top: 200px;
      left: 0;
    }
    .photos-item:nth-child(2) {
      top: 100px;
      left: 394px;
    }
    .photos-item:nth-child(3) {
      top: 30px;
      left: 834px;
      z-index: 2;
    }
    .photos-item:nth-child(4) {
      top: 120px;
      left: 1200px;
      z-index: 2;
    }
  }
}

@media only screen and (max-width: 1670px) {
  .x-discover {
    .x-discover--wrap {
      // 权重...fuck
      .section--wrap {
        .photos--wrap {
          margin-left: -740px;
          width: 1480px;
        }
      }
    }
    .x-photos {
      .photos-item:nth-child(1) {
        width: 500px;
        top: 220px;
      }
      .photos-item:nth-child(2) {
        width: 380px;
        left: 330px;
        top: 70px;
      }
      .photos-item:nth-child(3) {
        width: 230px;
        left: 734px;
      }
      .photos-item:nth-child(4) {
        left: 990px;
        top: 160px;
      }
    }
  }
}
@media only screen and (max-width: 1490px) {
  .x-discover {
    .x-discover--wrap {
      // 权重...fuck
      .section--wrap {
        .photos--wrap {
          margin-left: -640px;
          width: 1140px;
        }
      }
    }
    .x-photos {
      .photos-item:nth-child(1) {
        width: 360px;
      }
      .photos-item:nth-child(2) {
        width: 360px;
        left: 280px;
      }
      .photos-item:nth-child(3) {
        width: 210px;
        left: 660px;
      }
      .photos-item:nth-child(4) {
        width: 240px;
        top: 150px;
        left: 890px;
      }
    }
  }
}
@media only screen and (max-width: 1360px) {
  .x-discover {
    .x-photos {
      width: 1150px;
      .photo-location {
        padding: 8px 5px 10px 0;
      }
      .photos-item:nth-child(1) {
        width: 290px;
      }
      .photos-item:nth-child(2) {
        width: 290px;
        left: 260px;
      }
      .photos-item:nth-child(3) {
        width: 200px;
        left: 566px;
      }
      .photos-item:nth-child(4) {
        width: 300px;
        left: 790px;
        top: 170px;
      }
    }
  }
}

// x-discover hack: end
